<? $header->display();

if ($view == 'media') { 
	$media->display();
} else if ($view == 'detail') { ?>

	<h1>Tour Information</h1>
	<?=$tour->display();?>
	<?=$auxLink?>

<? } else { ?>

	<h1>Tours</h1>
	<?
	
	if ($tours) {
		foreach($tours as $tt) {
			$tt->display();
		}
	} else {
		echo("No tours.");
	}
}

$footer->display(); ?>